import service from "@/utils/request";

// /api/users/captcha
export const GetCaptchaApi = (params) => {
    return service({
        url: '/api/users/captcha',
        method: 'GET',
        // params:params
        params
    })
}

// /api/users/login


export const UserLoginApi = (data) => {
    return service({
        url: '/api/users/login',
        method: 'POST',
        data
    })
}